DEMO #2: Let's see how to loop through a list!

When we loop through a list, the loop runs once for each value on the list.

  • Run the program to see an example. Follow the directions on stage to complete the activity.
  • Click the Ticket to make a prediction about what will happen next!

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)